package tutorial;

import java.util.LinkedList;
import java.util.List;


public class Hello extends TutorialSupport {
	
	/**
	 * Número de Serialização.
	 */
	private static final long serialVersionUID = 3100614557880289008L;
	
	private String message;
	
	private List<String> days = new LinkedList<String>();
	
	public static final String displayMsg = "Hello.message";

	public String execute() throws Exception {
		setMessage(getText(displayMsg));
		days.add("Domingo");
		days.add("Segunda");
		days.add("Terça");
		days.add("Quarta");
		days.add("Quinta");
		days.add("Sexta");
		days.add("Sábado");
		
		return SUCCESS;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getMessage() {
		return message;
	}

	public List<String> getDays() {
		return days;
	}

	public void setDays(List<String> days) {
		this.days = days;
	}
}